<?php

namespace app\cash\controller\goods;

use app\BaseController;
use app\stores\model\cash\ThirdSettlementModel;


class ThirdSettlement extends BaseController{
    /**
     * 结算列表
     */
    public function list(){
        $where['shop_id'] = $this->request->shopId;
        $where['status'] = 1;
        $order = ['add_time'=>'desc'];
        $field = 'ts.*';

        $return = ThirdSettlementModel::list($where,$order,$this->request->page,$this->request->limit,$field);

        return $this->success($return);

    }

    
}

